home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / BANG1.ARJ / !.HLP < prev   
Text File  |  1992-03-07  |  32KB  |  1,069 lines

  1. +ALL
  2. +Introduction
  3. Program:
  4.  
  5.     ! (BANG !) version 3.1
  6.     (C) Copyright 1988-92 PC TECHniques/William J. Claff.
  7.     All rights reserved.
  8. -Introduction
  9.  
  10.  
  11. +Purpose
  12. .Smajor
  13. Purpose:
  14.  
  15.     To provide a variety of powerful and flexible hard-disk management
  16.     functions. These functions are provided in one utility with a consistent
  17.     command syntax and options.
  18. -Purpose
  19.  
  20.  
  21. +Overview
  22. .Smajor
  23. Overview:
  24.  
  25.     ! is an information utility designed especially for hard-disk users.
  26.  
  27.     It provides enhanced versions of the following DOS commands:
  28.  
  29.         CHKDSK
  30.         DIR
  31.         TREE
  32.  
  33.     The enhancements include:
  34.  
  35.         The ability to search across several or all disk drives.
  36.         Optional file selection criteria such as date or size.
  37.         Optional sorting by any field.
  38.         Optional arbitrary formatting of the output lines.
  39.         Optional execution of the formatted output lines.
  40.         CHKDSK of network drives.
  41.         /P (pause) option supports any number of screen lines.
  42.         /W (wide) option supports any number of screen columns.
  43.  
  44.     There are also several additional commands:
  45.  
  46.         DUP     List only filenames that occur more than once.
  47.         DUPCMD  List only commands occuring multiple time on the PATH.
  48.         FREE    An abbreviated CHKDSK showing total and free space.
  49.         LABEL   List volume label(s).
  50.         LS      Similar to DIR. Alphabetical list of filenames only.
  51.         UNIQUE  List only filenames that occur once.
  52.         WHERE   Similar to DIR but also searches subdirectories.
  53. -Overview
  54.  
  55.  
  56. +ShareWare
  57. .Smajor
  58. ShareWare:
  59.  
  60.     This program is copyrighted material being distributed as ShareWare.
  61.  
  62.     ShareWare gives you an opportunity to evaluate software before buying.
  63.     If you use it beyond a reasonable evaluation period you should register.
  64.  
  65.     Registered users receive a copy of the latest release, additional
  66.     documentation, telephone support, update notification and minor releases
  67.     at cost.
  68.  
  69.  
  70. +Registering
  71. .Sminor
  72. Registering:
  73.  
  74.     To register send your payment of $30 to:
  75.  
  76.            William J. Claff
  77.            7 Roberts Road
  78.            Wellesley, MA 02181
  79.  
  80.     Massachusetts residents add 5% sales tax.
  81.     Boston Computer Society members deduct 10% before tax if any.
  82.  
  83.     Write for details on volume discounts and site licenses.
  84.  
  85.     For your convenience there is an order form in the file named order. To
  86.     print the form use the DOS command:
  87.  
  88.         copy order prn
  89.  
  90.     If your printer is not attached to prn substitute the appropriate
  91.     device. For example, LPT2.
  92. -Registering
  93.  
  94.  
  95. +Distributing
  96. .Sminor
  97. Distributing:
  98.  
  99.     Individuals and ShareWare libraries are encouraged to copy and
  100.     distribute this program with the following restrictions:
  101.  
  102.     * All files are distributed together and no file is modified.
  103.     * Only a customary and usual copying fee may be charged.
  104.     * The label indicates that the diskette contains copyrighted material.
  105.     * There is no representation that the software is free or in the
  106.       public domain.
  107. -Distributing
  108.  
  109.  
  110. +Warranty
  111. .Sminor
  112. Warranty:
  113.  
  114.     This program is provided on an 'as-is' basis. No warranty is expressed
  115.     or implied. We are not responsible for any direct or consequential
  116.     damages due to incorrect operation.
  117. -Warranty
  118. -Shareware
  119.  
  120.  
  121. +Syntax
  122. .Smajor
  123. Syntax:
  124.  
  125.     ! SUBCOMMAND SEARCH SELECT SORT FORMAT OPTION
  126.  
  127.     No parameters are required. If you provide a SUBCOMMAND, it must be the
  128.     first parameter. The other parameters can be in any order you choose.
  129. -Syntax
  130.  
  131.  
  132. +SUBCOMMAND
  133. .Smajor
  134. SUBCOMMAND:
  135.  
  136.     The following SUBCOMMANDs are available:
  137.  
  138.         CHKDSK  Similar to DOS CHKDSK.
  139.         DIR     Similar to DOS DIR.
  140.         DUP     List only filenames that occur more than once.
  141.         DUPCMD  List only commands occuring multiple time on the PATH.
  142.         FREE    An abbreviated CHKDSK showing total and free space.
  143.         LABEL   List volume label(s).
  144.         LS      Similar to DIR. Alphabetical list of filenames only.
  145.         TREE    Similar to DOS TREE.
  146.         UNIQUE  List only filenames that occur once.
  147.         WHERE   Similar to DIR but also searches subdirectories.
  148.  
  149.     If no SUBCOMMAND is provided, the default SUBCOMMAND is DIR.
  150. -SUBCOMMAND
  151.  
  152.  
  153. +SEARCH
  154. .Smajor
  155. SEARCH:
  156.  
  157.     The SEARCH specification indicates which files to get from DOS.
  158.     SEARCH is similar to a DOS file specification. SEARCH has three parts:
  159.     SEARCH-DRIVE or SEARCH-NETWORK, SEARCH-DIRECTORY and SEARCH-FILENAME. The
  160.     combination of drive and directory is also known as a path.
  161.  
  162.     The components of a SEARCH specification is easiest to explain some
  163.     examples:
  164.  
  165.         C:\DOC\RESUME.TXT
  166.         \\SERVER\WORK\DOC\RESUME.TXT
  167.  
  168.     In the first example:
  169.  
  170.         SEARCH-DRIVE     is C:
  171.         SEARCH-DIRECTORY is \DOC\
  172.         SEARCH-FILENAME  is RESUME.TXT
  173.  
  174.         C:\DOC\ is the path.
  175.  
  176.     In the second example:
  177.  
  178.         SEARCH-NETWORK   is \\SERVER\WORK
  179.         SEARCH-DIRECTORY is \DOC\
  180.         SEARCH-FILENAME  is RESUME.TXT
  181.  
  182.         \\SERVER\WORK\DOC\ is the path.
  183. +SEARCH-DRIVE
  184. .Sminor
  185. SEARCH-DRIVE:
  186.  
  187.     The SEARCH-DRIVE is a letter followed by a colon ':'. Multiple drive
  188.     letters separated by colons ':' are allowed. A star '*' indicates an
  189.     automatic search for all hard-disks. Some examples of SEARCH-DRIVE are:
  190.  
  191.         C:              The C drive
  192.         C:D:            The C and D drives
  193.         *:              All hard-disk drives
  194.         ?:              All network drives
  195.  
  196.     If the automatic search does not produce the desired results, you can
  197.     change the meaning of *: with the !.* environment variable. Suppose your
  198.     hard-disks are c: and d: and you have a ram-disk that looks like a
  199.     hard-disk as e:. If you don't want e: searched automatically, put the
  200.     following line in your AUTOEXEC.BAT file:
  201.  
  202.         set !.*=CD
  203.  
  204.     The meaning of ?: can be overridden in the same fashion using the !.?
  205.     environment variable.
  206. -SEARCH-DRIVE
  207.  
  208. +SEARCH-NETWORK
  209. .Sminor
  210. SEARCH-NETWORK:
  211.  
  212.     SEARCH-NETWORK is two backslashes '\\' followed by a machine name,
  213.     a single backslash '\' and a resource name. If the SEARCH specification
  214.     is only a SEARCH-NETWORK then the resource name and single backslash are
  215.     not required. Some examples of SEARCH-NETWORK are:
  216.  
  217.         \\SUN           The machine named SUN.
  218.         \\SUN\DOSAPPS   The resource named DOSAPPS on the machine named SUN.
  219.  
  220.     The behavior of the SEARCH-NETWORK specification depends upon the
  221.     implementation of the network redirector for your network and version of
  222.     DOS. If you are logged on to a machine named SUN you can see all of the
  223.     resources with the command:
  224.  
  225.         ! \\SUN
  226.  
  227.     Whether you have sufficient access rights to use the resource(s) or view
  228.     their contents is another matter. Assuming that DOSAPPS appeared as one
  229.     of the resources of SUN you could use a variety of SUBCOMMANDS to explore
  230.     DOSAPPS. For example:
  231.  
  232.         ! \\SUN\DOSAPPS
  233.         ! TREE \\SUN\DOSAPPS
  234.         ! WHERE \\SUN\DOSAPPS\*.EXE
  235. -SEARCH-NETWORK
  236.  
  237. +SEARCH-DIRECTORY
  238. .Sminor
  239. SEARCH-DIRECTORY:
  240.  
  241.     SEARCH-DIRECTORY starts with a backslash '\', dot '.' or dot-dot '..'.
  242.  
  243.     \  indicates starting at the root directory.
  244.     .  indicates starting at the current directory.
  245.     .. indicates starting at the parent directory.
  246.  
  247.     The SEARCH-DIRECTORY ends at the rightmost backslash '\' unless the
  248.     filename to the right is a subdirectory. For the example:
  249.  
  250.         c:\wp\doc
  251.  
  252.     SEARCH-DIRECTORY is \wp\doc\ if doc is a subdirectory of \wp\ otherwise
  253.     SEARCH-DIRECTORY is \wp\
  254.  
  255.     Because DOS makes this distinction for us it is common practice to omit
  256.     the last backslash of directory names in DOS commands.
  257. -directory
  258.  
  259. +SEARCH-FILENAME
  260. .Sminor
  261. SEARCH-FILENAME:
  262.  
  263.     SEARCH-FILENAME has the same syntax as a DOS filename. Some examples
  264.     are:
  265.  
  266.         resume.txt
  267.         *.txt
  268.         88???31.txt
  269.  
  270.     The part to the left of the dot '.' is called the name. The part to the
  271.     right of the dot is the extension. Together they form the filename.
  272.  
  273.     The star '*' and question-mark '?' are called wild-cards. The star
  274.     expands out to as many question-marks as are needed to complete the name
  275.     or extension. So in the above example *.txt expands to ????????.txt.
  276.  
  277.     A question-mark matches any single character including trailing spaces.
  278. -filename
  279.  
  280.  
  281. +defaults
  282. .Sminor
  283.     When any portion of the SEARCH specification is missing, a default value
  284.     is used. The defaults depend on the SUBCOMMAND and can be summarized:
  285.  
  286.     SUBCOMMAND  default drive   default directory  default filename
  287.     ----------  --------------  -----------------  ----------------
  288.     CHKDSK      current drive   does not apply     does not apply
  289.     DIR         current drive   current directory  *.*
  290.     DUP         all hard-disks  root directory     *.*
  291.     DUPCMD      does not apply  does not apply     does not apply
  292.     FREE        current drive   does not apply     does not apply
  293.     LABEL       current drive   does not apply     does not apply
  294.     LS          current drive   current directory  *.*
  295.     TREE        current drive   root directory     does not apply
  296.     UNIQUE      current drive   root directory     *.*
  297.     WHERE       all hard-disks  root directory     *.*
  298.  
  299.     Multiple SEARCH specifications are allowed.
  300.     DUPCMD uses PATH to determine all SEARCH criteria.
  301.     SEARCH specifications for DIR and LS must all be from the same path.
  302.     UNIQUE requires exactly two SEARCH specifications.
  303. -defaults
  304. -SEARCH
  305.  
  306.  
  307. +SELECT
  308. .Smajor
  309. SELECT:
  310.  
  311.     SELECT lets you further restrict the files returned by SEARCH.
  312.  
  313.     The syntax for SELECT expressions is:
  314.  
  315.         (SELECT-FIELD.SELECT-COMPARE.SELECT-VALUE)
  316.  
  317.     For example to get only files with today's date use:
  318.  
  319.         ($D.eq.TODAY)
  320.  
  321.     In this example the SELECT-FIELD is $D, the SELECT-COMPARE is eq,
  322.     and the SELECT-VALUE is TODAY.
  323.  
  324.     Use '.and.' and '.or.' to combine SELECT expressions. Parentheses can
  325.     also be used to group combinations since in ungrouped combinations
  326.     '.and.' is done before '.or.'. For example:
  327.  
  328.         (($S.eq.0).or.($S.gt.10000)).and.($D.eq.TODAY)
  329.  
  330.     This selects files with today's date and either a size of 0 bytes or a
  331.     size greater than 10000 bytes.
  332.  
  333.     Only one SELECT expression is allowed.
  334.  
  335. +SELECT-FIELD
  336. .Sminor
  337.     The SELECT-FIELDs are:
  338.  
  339.     SELECT-FIELD  description
  340.     ------------  -----------
  341.     $U            drive letter or Unit
  342.     $N            fileName without extension
  343.     $E            filename Extension
  344.     $F            entire Filename
  345.     $S            file Size in bytes
  346.     $D            Date of last modification
  347.     $T            Time of last modification
  348.     $A            Attribute
  349. -SELECT-FIELD
  350.  
  351. +SELECT-COMPARE
  352. .Sminor
  353.     The SELECT-COMPAREs for SELECT-FIELDs other than $A are:
  354.  
  355.     SELECT-COMPARE  description
  356.     --------------  -----------
  357.     EQ              EQual
  358.     GE              Greater than or Equal
  359.     GT              Greater Than
  360.     LE              Less than or Equal
  361.     LT              Less Than
  362.     NE              Not Equal
  363.  
  364.     The SELECT-COMPAREs for SELECT-FIELDs $A are:
  365.  
  366.     SELECT-COMPARE  description
  367.     --------------  -----------
  368.     IS              Has all of the attributes
  369.     ISNT            Does not have all of the attributes
  370. -SELECT-COMPARE
  371.  
  372. +SELECT-VALUE
  373. .Sminor
  374.     SELECT-VALUEs depend on the SELECT-FIELD.
  375.  
  376.     $U, $N, $E and $F require an appropriate string of characters. Wild-cards
  377.     are not allowed.
  378.  
  379.     $S requires a number.
  380.  
  381.     $D requires a date in the form yymmmdd. (eg. 88Jul28)
  382.     The special values TODAY and TODAY-n (where n is a number of days) is
  383.     allowed.
  384.  
  385.     $T requires a time in the form hh, hh:mm or hh:mm:ss where hh is hours
  386.     (00 to 23), mm is minutes (00 to 59) and ss is seconds (00 to 59). For
  387.     example, 13:30 is 1:30pm. Note, DOS only stores times as an even number
  388.     of seconds so 13:30:31 is interpreted as 13:30:30.
  389.  
  390.     $A requires a one to four letter code consisting of:
  391.  
  392.     $A CODE         description
  393.     -------         -----------
  394.     R               Read-only
  395.     H               Hidden
  396.     S               System
  397.     A               Archive
  398. -SELECT-VALUE
  399. -SELECT
  400.  
  401.  
  402. +SORT
  403. .Smajor
  404. SORT:
  405.  
  406.     SORT indicates the sort order of the output. Two examples are:
  407.  
  408.         +f              Sort output by filename
  409.         +s              Sort output by file size
  410.  
  411.     The plus '+' indicates an ascending sort. 'f' stands for filename and
  412.     's' stands for file size. For a complete list see the SORT-FIELDs table
  413.     below.
  414.  
  415.     Multiple SORT-OPTIONs are allowed. SORT-OPTIONs can be run together or
  416.     separated by white-space.
  417.  
  418.     Each SORT is a SORT-ORDER immediately followed by a SORT-FIELD. The
  419.     SORT-ORDER (usually a '+') is required for each SORT-FIELD.
  420.  
  421. +SORT-ORDER
  422. .Sminor
  423.     Use '+' for ascending and '-' for descending SORT-ORDER.
  424. -SORT-ORDER
  425.  
  426. +SORT-FIELD
  427. .Sminor
  428.     The SORT-FIELDS are:
  429.  
  430.     SORT-FIELD  description
  431.     ----------  -----------
  432.     U           drive letter or Unit
  433.     P           full Path including drive letter
  434.     N           fileName without extension
  435.     E           filename Extension
  436.     F           entire Filename
  437.     S           file Size in bytes
  438.     D           Date of last modification
  439.     T           Time of last modification
  440.     M           date and time of last Modification
  441. -SORT-FIELD
  442. -SORT
  443.  
  444.  
  445. +FORMAT
  446. .Smajor
  447. FORMAT:
  448.  
  449.     FORMAT gives you control over what the output looks like. For example:
  450.  
  451.         "$N$E size=$S"
  452.  
  453.     lists only the name, extension and size of each file. It also puts the
  454.     string ' size=' between the extension and size.
  455.  
  456.     The FORMAT specification must be in quotes. Each output line uses the
  457.     FORMAT string as a template. Each '$' in the FORMAT string marks a
  458.     2-character FORMAT-FIELD. The replacements for the FORMAT-FIELDs are:
  459.  
  460. +FORMAT-FIELD
  461. .Sminor
  462.     FORMAT-FIELD  description
  463.     ------------  -----------
  464.     $U            drive or Unit letter
  465.     $P            full Path including drive letter and '\'
  466.     $I            dIrectory including '\' but not the drive letter
  467.     $N            fileName without extension
  468.     $E            filename Extension
  469.     $F            entire Filename
  470.     $S            file Size in bytes
  471.     $D            Date of last modification
  472.     $T            Time of last modification
  473.     $M            date and time of last Modification
  474.     $A            file Attributes
  475.  
  476.     $$            dollar sign '$'
  477.     $B            vertical Bar '|'
  478.     $C            Closing square bracket ']'
  479.     $G            Greater than sign '>'
  480.     $L            Less than sign '<'
  481.     $O            Opening square bracket '['
  482.     $Q            eQual sign '='
  483.     $R            carriage Return
  484.  
  485.     $S has leading spaces, making it 8 characters long.
  486. -FORMAT-FIELD
  487.  
  488. +FORMAT-FORMAT
  489. .Sminor
  490.     Certain fields can be followed by a FORMAT-FORMAT. A FORMAT-FORMAT is
  491.     enclosed by square brackets.
  492.  
  493.  
  494.     $P and $I can be followed by a FORMAT-FORMAT with either a '+' or a '-' 
  495.     between the square brackets. This controls whether the path will have a 
  496.     trailing backslash ('\'). A plus ('+') indicates a trailing backslash and 
  497.     a minus ('-') indicates no trailing backslash. The default is to include 
  498.     the trailing backslash.
  499.  
  500.     $N and $E can be followed by a FORMAT-FORMAT of the form [w] where w is
  501.     the desired width of the field. If w is negative the result is left
  502.     justified. For example, the FORMAT-FORMAT for a DOS DIR style output
  503.     line would contain:
  504.  
  505.         $N[-8] $E[-3]
  506.  
  507.  
  508.     $D can be followed by a FORMAT-FORMAT where certain groups of characters
  509.     have special meanings. Examples of these meanings can be summarized:
  510.  
  511.         Code    Example Description
  512.         ----    ------- -----------
  513.         d       1       Day
  514.         dd      01      Day with leading zero if necessary
  515.         ddd     Mon     Three letter day of week
  516.         dddd    Monday  Day of week
  517.  
  518.         m       1       Month
  519.         mm      01      Month with leading zero if necessary
  520.         mmm     Mar     Three letter month
  521.         mmmm    March   Month
  522.  
  523.         yy      89      Two digit year
  524.         yyyy    1989    Year
  525.  
  526.     Examples of FORMAT-FORMAT for dates include:
  527.  
  528.         $D[dddd mmmm d, yyyy]           Sunday July 22, 1989
  529.         $D[mm-dd-yy]                    07-22-89
  530.  
  531.  
  532.     $T can be followed by a FORMAT-FORMAT where certain groups of characters
  533.     have special meanings. Examples of these meanings can be summarized:
  534.  
  535.         Code    Example Description
  536.         ----    ------- -----------
  537.         h       1       Hour
  538.         hh      01      Hour with leading zero if necessary
  539.         m       1       Minute
  540.         mm      01      Minute with leading zero if necessary
  541.         s       1       Seconds
  542.         ss      01      Seconds with leading zero if necessary
  543.         i       a       One character AM or PM indicator
  544.         ii      am      Two character AM or PM indicator
  545.  
  546.     The leading character of the i code affects the case of the indicator.
  547.     Hours are treated as military time unless the an i code is present.
  548.  
  549.     Examples if FORMAT-FORMAT for times include:
  550.  
  551.         $T[hh:mm:ss]                    23:40:18
  552.         $T[hh:mm II]                    11:40 PM
  553. -FORMAT-FORMAT
  554. -FORMAT
  555.  
  556.  
  557. +OPTION
  558. .Smajor
  559. OPTION:
  560.  
  561.     OPTIONs are miscellaneous switches. Each OPTION begins with a slash '/'.
  562.     The OPTIONs are:
  563.  
  564.     OPTION  description
  565.     ------  -----------
  566.     /?      Help
  567.  
  568.     /E      Execute with Verification (short for /EV)
  569.     /EL     Execute and List          (list each line)
  570.     /EQ     Execute Quietly           (do not list lines)
  571.     /EV     Execute with Verification
  572.  
  573.     /P      Pause when screen fills
  574.  
  575.     /V      Verbose                   (show interpretation of parameters)
  576.     /VV     Verbose with Verification (confirm before continuing)
  577.     /W      Wide                      (list across width of the screen)
  578.     /WP     WordPerfect               (restrict to WordPerfect files)
  579.  
  580. +Help
  581. .Sminor
  582. Help:
  583.  
  584.     The help option (/?) is used to view or print the online documentation.
  585.  
  586.     You can obtain online documentation on any topic by entering:
  587.  
  588.         ! /?topic
  589.  
  590.     where topic is one of the section names in the online documentation.
  591.  
  592.     To produce a list of the section names in outline form use the command:
  593.  
  594.         ! /??
  595.  
  596.     The special section name ALL is used to refer to the entire manual.
  597.     To print the entire manual use the command:
  598.  
  599.         ! /?ALL > prn
  600.  
  601.     This command uses DOS redirection to send the output to the device prn.
  602.     If the printer is not attached to prn substitute the appropriate device.
  603.     To viewing help on the screen it is not necessary to use the /P option.
  604.     /? automatically does a /P for you UNLESS you are redirecting output.
  605. -Help
  606.  
  607.  
  608. +Execute
  609. .Sminor
  610. Execute
  611.  
  612.     The execute options (/E,/EL,/EQ,/EV) allow you to execute the output as
  613.     DOS commands.
  614.  
  615.     The execute option is always used in conjunction with FORMAT.
  616.  
  617.     To delete all of the .bak files on all hard-disks, use the command:
  618.  
  619.         ! WHERE *.bak "del $p$f" /EL
  620.  
  621.     /EL means that each line will be listed on the screen before it is done.
  622.     If /EQ were used the lines would not be listed as they execute. The
  623.     option /EV will prompt for verification (yes or no) before executing the
  624.     line. This way you could selectively delete the .bak files.
  625.  
  626.     *************************************************************************
  627.     * Use the /E options with care! It is a good idea to use /VV with them. *
  628.     *************************************************************************
  629.  
  630.     Another way of deleting all of the files on all hard-disks would be to
  631.     have ! WHERE make a batch file and then to execute the batch file. For
  632.     example:
  633.  
  634.         ! WHERE *.bak "echo del $p$f $g$g clean.bat" /EL
  635.         clean
  636.  
  637.     Since $g stands for '>' the FORMAT is "echo del $p$f >> clean.bat". This
  638.     technique is useful for making batch files that will be used repeatedly.
  639.  
  640.     Another reason to use this method is if the FORMAT cannot be executed
  641.     from within ! because there is not enough memory.
  642.  
  643.     Note that multiple commands can be executed by using the $R FORMAT-FIELD.
  644.  
  645.     Also, commands executed by ! must not consume any memory. Typically the
  646.     only way this can happen is with the PRINT command. The first time you
  647.     run PRINT it installs a resident portion to handle the spooling. If you
  648.     want to use PRINT simply put the line:
  649.  
  650.         PRINT /d:prn
  651.  
  652.     in your AUTOEXEC.BAT file. If your printer is not attached to prn then
  653.     substitute the appropriate device.
  654. -Execute
  655.  
  656.  
  657. +Pause
  658. .Sminor
  659. Pause:
  660.  
  661.     The pause option (/P) prompts for continuation each time the screen is
  662.     full. This gives you the opportunity to read the information before it
  663.     scrolls off the top of the screen.
  664.  
  665.     /P knows about many kinds of displays with various numbers of lines per
  666.     screen. If /P incorrectly determines the number of lines on your screen
  667.     simply follow the /P option with the correct number of lines. If you
  668.     have a 70 line screen that is not recognized properly you would use the
  669.     option:
  670.  
  671.         /P70
  672.  
  673.     This syntax is also used to indicate the number of lines per page on the
  674.     printer if you are redirecting the help output. The default number of
  675.     lines per page is 60. To send help to a printer with 88 lines per page
  676.     use the command:
  677.  
  678.         ! /?ALL /P88 > prn
  679. -Pause
  680.  
  681.  
  682. +Verbose
  683. .Sminor
  684. Verbose:
  685.  
  686.     The verbose options (/V,/VV) help you verify that your parameters are
  687.     correct. When the verbose option is set the program shows on the screen
  688.     how it has interpreted the parameters. The /VV option will also prompt
  689.     for verification (yes or no) before continuing.
  690. -Verbose
  691.  
  692.  
  693. +Wide
  694. .Sminor
  695. Wide:
  696.  
  697.     The wide option (/W) helps you get more information on your screen. /W
  698.     puts as much information on each line as it can before going to the next
  699.     line. /W can only be used when the FORMAT specifies a fixed length
  700.     output. This restriction ensures that the columns will line up.
  701.  
  702.     /W knows about many kinds of displays with various numbers of columns
  703.     per line. If /W incorrectly determines the number of columns on your
  704.     screen simply follow the /W option with the correct number of columns.
  705.     If you have a 132 column screen that is not properly recognized you
  706.     would use the option:
  707.  
  708.         /W132
  709.  
  710.     This syntax is also used to indicate the number of columns per line on
  711.     your printer if you are redirecting the output. To send a Wide DIRectory
  712.     to a printer with 120 columns per line use the command:
  713.  
  714.         ! DIR /W120 > prn
  715. -Wide
  716.  
  717.  
  718. +WordPerfect
  719. .Sminor
  720. WordPerfect:
  721.  
  722.     The WordPerfect option (/WP) restricts the selected files to WordPerfect
  723.     Corporation files.
  724.  
  725.     /WP only recognizes the new WordPerfect Corporation file formats. It
  726.     does not, for example, recognize WordPerfect 4.2 documents.
  727.  
  728.     To restrict your output to WordPerfect version 5.0 or later documents use
  729.     the option:
  730.  
  731.         /WP
  732.  
  733.     To locate all WordPerfect Corporation files use the option:
  734.  
  735.         /WPCORP
  736.  
  737.     You can also locate other specific WordPerfect Corporation files by
  738.     using option(s) of the form:
  739.  
  740.         /WPext
  741.  
  742.     where ext is an extension from the WordPerfect Filetypes table below.
  743.  
  744.     For example, to find all dictionary and thesaurus files on a system:
  745.  
  746.         ! WHERE /WPLEX /WPTHS
  747. -WordPerfect
  748.  
  749.  
  750. +WordPerfect-Filetypes
  751. .SMinor
  752.     WordPerfect Filetypes
  753.  
  754.     ext     description
  755.     ---     -------------------------
  756.     ALL     printer resource
  757.     CB      Column Block
  758.     DRS     Display Resource Set
  759.     FIL     overlay FILe
  760.     HYC     HYphenation Code module
  761.     HYD     HYphenation Data module
  762.     HYL     HYphenation Lex module
  763.     INS     INStall options
  764.     IRS     Input (mouse) Resource Set
  765.     LEX     LEXicon (dictionary)
  766.     MRS     Macro Resource Set
  767.     NB      Normal Block
  768.     PRS     Printer Resource Set
  769.     QRS     eQuation Resource Set
  770.     RB      Row Block
  771.     RHP     RHymer Phonemes
  772.     RHW     RHymer Words
  773.     SET     SETup
  774.     SPR     SPell Rules
  775.     SPW     SPell Wordlist
  776.     THS     THeSaurus
  777.     WPD     WP graphics screen Driver
  778.     WPG     WP Graphic
  779.     WPH     Help
  780.     WPK     Keyboard definition
  781.     WPM     Macro
  782. -WordPerfect-Filetypes
  783. -OPTION
  784.  
  785.  
  786. +Usage
  787. .Smajor
  788. Usage:
  789.  
  790. +CHKDSK
  791. .Sminor
  792. CHKDSK:
  793.  
  794.     The CHKDSK SUBCOMMAND is similar to the DOS CHKDSK command. For example:
  795.  
  796.         ! CHKDSK
  797.  
  798.     displays a table showing the allocation of bytes for the current drive.
  799.  
  800.     Here is something that ! CHKDSK can do that DOS CHKDSK cannot:
  801.  
  802.  
  803.         ! CHKDSK *:
  804.  
  805.     Display a usage table with totals for all hard-disk drives.
  806.  
  807.     Also, ! CHKDSK works for network drives while DOS CHKDSK does not.
  808.  
  809.     Unlike DOS CHKDSK, ! CHKDSK does not take any corrective action when
  810.     problems with the File Allocation Table (FAT) are detected. When dealing
  811.     with damaged FATs it is best to use an interactive utility which puts
  812.     potentially damaging decisions in the hands of the user.
  813.  
  814. -CHKDSK
  815.  
  816.  
  817. +DIR
  818. .Sminor
  819. DIR:
  820.  
  821.     The DIR SUBCOMMAND is similar to the DOS DIR command. For example:
  822.  
  823.         ! DIR
  824.  
  825.     lists the directory entries for the current directory.
  826.  
  827.     Note that filenames are displayed in lower-case making them more readily
  828.     distiguishable from the upper-case directory names.
  829.  
  830.     Here are some examples of the things ! DIR can do that DOS DIR cannot:
  831.  
  832.  
  833.         ! DIR *.doc *.txt ($D.eq.TODAY) +F
  834.  
  835.     Display .doc and .txt files with today's date alphabetically.
  836.  
  837.         ! DIR ($e.ne.bak) "copy $f a:\" /EQ
  838.  
  839.     Copy all files except .bak files to the a: drive without listing or
  840.     prompting for verification.
  841.  
  842.     Note, unlike DOS DIR the number of files on the totals line does not
  843.     include the subdirectories.
  844. -DIR
  845.  
  846.  
  847. +DUP
  848. .Sminor
  849. DUP:
  850.  
  851.     The DUP SUBCOMMAND help you to locate duplicate files. This can help you
  852.     recover disk space used by extra copies of files.
  853.  
  854.     The full-blown usage is:
  855.  
  856.         ! DUP
  857.  
  858.     This will locate duplicate filenames across all of your hard-disks.
  859.  
  860.     You can check a specific drive. For example:
  861.  
  862.         ! DUP c:
  863.  
  864.     Another common usage is:
  865.  
  866.         ! DUP a:\*.txt c:\doc\*.txt
  867.  
  868.     This use will locate .txt files which are duplicated on the a: disk and
  869.     on the c:\doc\ subdirectory. When using DUP in this way remember that
  870.     DUP searches the entire subtree, not just the specified directory.
  871. -DUP
  872.  
  873.  
  874. +DUPCMD
  875. .Sminor
  876. DUPCMD:
  877.  
  878.     The DUPCMD SUBCOMMAND help you to locate conflicting commands. DUPCMD
  879.     follows the PATH and finds .BAT, .COM and .EXE files with the same name.
  880.     Like COMMAND.COM DUPCMD also looks in the current directory in addition
  881.     to the PATH.
  882.  
  883.  
  884.     This subcommand has only one form:
  885.  
  886.         ! DUPCMD
  887.  
  888. -DUPCMD
  889.  
  890.  
  891. +FREE
  892. .Sminor
  893. FREE:
  894.  
  895.     The FREE SUBCOMMAND is an abbreviated CHKDSK. For example:
  896.  
  897.         ! FREE
  898.  
  899.     displays the total and free bytes for the current drive.
  900.  
  901.     Another typical usage would be:
  902.  
  903.         ! FREE *:
  904.  
  905.     which shows the total and free bytes for all hard-disks.
  906. -FREE
  907.  
  908. +LABEL
  909. .Sminor
  910. LABEL:
  911.  
  912.     The LABEL SUBCOMMAND lists the volume label(s). For example:
  913.  
  914.         ! LABEL
  915.  
  916.     displays the label of the current drive.
  917.  
  918.     Another typical usage would be:
  919.  
  920.         ! LABEL *:
  921.  
  922.     which shows the volume labels for all hard-disks.
  923. -LABEL
  924.  
  925.  
  926. +LS
  927. .Sminor
  928. LS:
  929.  
  930.     The LS SUBCOMMAND is similar to the DOS DIR command. For example:
  931.  
  932.         ! LS
  933.  
  934.     lists the directory entries for the current directory. This command
  935.     lists only the files and lists them in alphabetical order.
  936.  
  937.     Other examples of ! LS usage include:
  938.  
  939.         ! LS *.doc /W
  940.  
  941.     Alphabetical display all .doc files across the screen rather than in a
  942.     column.
  943.  
  944.         ! LS *.txt +s
  945.  
  946.     Display the .txt files in order by filesize.
  947. -LS
  948.  
  949.  
  950. +TREE
  951. .Sminor
  952. TREE:
  953.  
  954.     The TREE SUBCOMMAND is similar to the DOS TREE command. For example:
  955.  
  956.         ! TREE
  957.  
  958.     lists the directory paths for the current drive.
  959.  
  960.     Here is something ! TREE can do that DOS TREE cannot:
  961.  
  962.         ! TREE *: +p
  963.  
  964.     This command produces a sorted list of all paths on all hard-disks.
  965.     Note that for TREE the only SORT allowed is +p or -p.
  966.  
  967.     You can also get subtree listings. For example:
  968.  
  969.         ! TREE c:\doc
  970. -TREE
  971.  
  972.  
  973. +UNIQUE
  974. .Sminor
  975. UNIQUE:
  976.  
  977.     The UNIQUE SUBCOMMAND help you to determine whether there are filenames
  978.     that occur only once between two directories.
  979.  
  980.     Imagine you have a new version of a program on a floppy disk that you
  981.     already have installed as c:\program. The command:
  982.  
  983.         ! UNIQUE a:\ c:\program
  984.  
  985.     will tell you which files, if any, are only on the floppy or on the
  986.     hard-disk.
  987. -UNIQUE
  988.  
  989.  
  990. +WHERE
  991. .Sminor
  992. WHERE:
  993.  
  994.     The WHERE SUBCOMMAND locates files. It can operate on all of your
  995.     hard-disks or on selected portions of your disks. Some examples of
  996.     WHERE usage are:
  997.  
  998.         ! WHERE resume.txt
  999.  
  1000.     locates all copies of resume.txt across all hard-disks.
  1001.  
  1002.         ! WHERE c:d:\*.txt e:\doc\*.txt +F
  1003.  
  1004.     produces a sorted list of the .txt files on the c: drive, d: drive and
  1005.     in the \doc\ directory tree of e:.
  1006.  
  1007.         ! WHERE *.bak "del $p$f" /EL
  1008.  
  1009.     Deletes all of the .bak files on all hard-disks. It lists the lines as
  1010.     it executes them but does not prompt for verification.
  1011. -WHERE
  1012. -Usage
  1013.  
  1014.  
  1015. +Limitations
  1016. .Smajor
  1017. +DOS2
  1018. DOS2:
  1019.  
  1020.     Under DOS 2.0, if you rename the program or if the program is not on the
  1021.     PATH, you will not be able to locate the help file.
  1022. -DOS2
  1023.  
  1024.  
  1025. +Sorting
  1026. Sorting:
  1027.  
  1028.     The maximum number of files that can be sorted is determined by the
  1029.     amount of free memory. On 640K systems the limit is approximately 14000
  1030.     files. When +P or -P is the first SORT-FIELD, the files are sorted on a
  1031.     per directory basis.
  1032. -Sorting
  1033.  
  1034.  
  1035. +Switchar
  1036. Switchar:
  1037.  
  1038.     ! Bang uses the DOS SWITCHAR to determine which letter to use as the
  1039.     leading letter of options. If you have set SWITCHAR to '-' (in order to
  1040.     use '/' in filenames) you will not be able to specify decending sorts.
  1041. -Switchar
  1042.  
  1043.  
  1044. +TSRs
  1045. TSRs:
  1046.  
  1047.     It is unwise to execute any Terminate and Stay Resident programs (TSR)
  1048.     from within any program, including !. If you execute any TSR from ! you
  1049.     will get the error message:
  1050.  
  1051.         Fatal Error in MemRestoreHuge
  1052.  
  1053.     when control returns to !. See the section on Execute regarding the DOS
  1054.     PRINT command.
  1055. -TSRs
  1056. -Limitations
  1057.  
  1058.  
  1059. +Installation
  1060. Installation
  1061.  
  1062.     Copy the contents of the floppy diskette to your hard-disk. Keep the
  1063.     files together or ! will not be able to locate the help file. Under
  1064.     DOS 2.x the program must not be renamed and must be on the path to
  1065.     locate the help file.
  1066. -Installation
  1067. -ALL
  1068.  
  1069.